package fr.chatellier.onlinemanager.client;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;

import fr.chatellier.onlinemanager.client.data.EventClient;

/**
 * The async counterpart of <code>GreetingService</code>.
 */
public interface EventServiceAsync {
	
	void saveEvent(EventClient input, AsyncCallback<Void> callback);

	void getEvents(AsyncCallback<List<EventClient>> callback);

}
